window: Always clamp to max size
authorBenjamin Otte <otte@redhat.com>
Sun, 21 Nov 2021 04:32:20 +0000 (05:32 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 21 Nov 2021 04:33:28 +0000 (05:33 +0100)
commit358893aa841c42017160bbe74e74e40c8abc3eb6
tree66f6051bad95ace112bb683478583ecadb0ee3f2
parent344fac5aa72cf1490fa85f797dece9f12d064f9b
window: Always clamp to max size

When computing the window size, always try to clamp to the max size.
This will shrink a window down into a sane size if it was too big
before.
gtk/gtkwindow.c